package com.yh.homestay.service;

import com.yh.homestay.pojo.CapitalItem;
import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.common.ItemEditResult;

import java.util.List;

public interface CapitalItemService {

    public HomeStayResult findAll(Integer page, Integer limit, String itemName);

    public HomeStayResult addCapitalItem(CapitalItem capitalItem);

    public ItemEditResult findItemById(Integer id);

    public HomeStayResult editCapitalItem(CapitalItem capitalItem);

    public HomeStayResult delCapitalItem(Integer id);

    public HomeStayResult batchDelCapitalItem(List<Integer> ids);


}
